package com.newtouch.bxzs.business.statistics.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 收入构成VO类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/13</td>
 * <td>tianshangzhu</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author tianshangzhu
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("个人收入构成VO")
public class PersonalIncomeCompositionVO implements Serializable {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 6795240328013721569L;

    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    @ApiModelProperty(value = "月份")
    private Date month;

    @ApiModelProperty(value = "公司信用编码")
    private String organizationCode;

    @ApiModelProperty(value = "(收入构成时需要)机构类型：true为银行端、flase为保险端")
    private Boolean agencyFlg;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date startMonth;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date endMonth;
}
